package org.bt.common.convertor;

/**
 * 实体转换器接口
 *
 * @param <SOURCE>
 * @param <TARGET>
 * @author tongw
 */
public interface Convertor<SOURCE, TARGET> {

    /**
     * 实体转换
     *
     * @param source
     * @param target
     */
    void convert(SOURCE source, TARGET target);
}
